package com.ruoyi.ybUpload.domain.tableCode;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 药品批次表对象 trace_code
 *
 * @author wkw
 * @date 2024-08-07
 */
public class TraceCode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String ypName;

    /** 药品编码 */
    @Excel(name = "药品编码")
    private String ypCode;

    /** 医疗目录编码 */
    @Excel(name = "医疗目录编码")
    private String medListCodg;

    /** 机构目录编码 */
    @Excel(name = "机构目录编码")
    private String fixmedinsHilistId;

    /** 机构目录名称 */
    @Excel(name = "机构目录名称")
    private String fixmedinsHilistName;

    /** 处方药标志 */
    @Excel(name = "处方药标志")
    private String rxFlag;

    /** 盘存日期 */
    @Excel(name = "盘存日期")
    private String invdate;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long invCnt;

    /** 生产批号 */
    @Excel(name = "生产批号")
    private String manuLotnum;

    /** 批次流水号 */
    @Excel(name = "批次流水号")
    private String fixmedinsBchno;

    /** 生产日期 */
    @Excel(name = "生产日期")
    private String manuDate;

    /** 有效期止 */
    @Excel(name = "有效期止")
    private String expyEnd;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 上传标志 */
    @Excel(name = "上传标志")
    private Long uploadFlag;

    /** 删除标志 */
    private Long delFlag;

    private List<TraceCodeDetail> codeList;

    public List<TraceCodeDetail> getCodeList() {
        return codeList;
    }

    public void setCodeList(List<TraceCodeDetail> codeList) {
        this.codeList = codeList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setYpName(String ypName)
    {
        this.ypName = ypName;
    }

    public String getYpName()
    {
        return ypName;
    }
    public void setYpCode(String ypCode)
    {
        this.ypCode = ypCode;
    }

    public String getYpCode()
    {
        return ypCode;
    }
    public void setMedListCodg(String medListCodg)
    {
        this.medListCodg = medListCodg;
    }

    public String getMedListCodg()
    {
        return medListCodg;
    }
    public void setFixmedinsHilistId(String fixmedinsHilistId)
    {
        this.fixmedinsHilistId = fixmedinsHilistId;
    }

    public String getFixmedinsHilistId()
    {
        return fixmedinsHilistId;
    }
    public void setFixmedinsHilistName(String fixmedinsHilistName)
    {
        this.fixmedinsHilistName = fixmedinsHilistName;
    }

    public String getFixmedinsHilistName()
    {
        return fixmedinsHilistName;
    }
    public void setRxFlag(String rxFlag)
    {
        this.rxFlag = rxFlag;
    }

    public String getRxFlag()
    {
        return rxFlag;
    }
    public void setInvdate(String invdate)
    {
        this.invdate = invdate;
    }

    public String getInvdate()
    {
        return invdate;
    }
    public void setInvCnt(Long invCnt)
    {
        this.invCnt = invCnt;
    }

    public Long getInvCnt()
    {
        return invCnt;
    }
    public void setManuLotnum(String manuLotnum)
    {
        this.manuLotnum = manuLotnum;
    }

    public String getManuLotnum()
    {
        return manuLotnum;
    }
    public void setFixmedinsBchno(String fixmedinsBchno)
    {
        this.fixmedinsBchno = fixmedinsBchno;
    }

    public String getFixmedinsBchno()
    {
        return fixmedinsBchno;
    }
    public void setManuDate(String manuDate)
    {
        this.manuDate = manuDate;
    }

    public String getManuDate()
    {
        return manuDate;
    }
    public void setExpyEnd(String expyEnd)
    {
        this.expyEnd = expyEnd;
    }

    public String getExpyEnd()
    {
        return expyEnd;
    }
    public void setMemo(String memo)
    {
        this.memo = memo;
    }

    public String getMemo()
    {
        return memo;
    }
    public void setUploadFlag(Long uploadFlag)
    {
        this.uploadFlag = uploadFlag;
    }

    public Long getUploadFlag()
    {
        return uploadFlag;
    }
    public void setDelFlag(Long delFlag)
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("ypName", getYpName())
                .append("ypCode", getYpCode())
                .append("medListCodg", getMedListCodg())
                .append("fixmedinsHilistId", getFixmedinsHilistId())
                .append("fixmedinsHilistName", getFixmedinsHilistName())
                .append("rxFlag", getRxFlag())
                .append("invdate", getInvdate())
                .append("invCnt", getInvCnt())
                .append("manuLotnum", getManuLotnum())
                .append("fixmedinsBchno", getFixmedinsBchno())
                .append("manuDate", getManuDate())
                .append("expyEnd", getExpyEnd())
                .append("memo", getMemo())
                .append("uploadFlag", getUploadFlag())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}